Network building apparatus, network building method, non-transitory computer readable medium storing program

ABSTRACT

A network building apparatus ( 2 ) includes a collection unit ( 11 ) configured to scan each node connected to a network and collect environmental data of the network, a design unit ( 21 ) configured to design a virtual network obtained by virtualizing the network based on the environmental data collected by the collection unit ( 11 ), and an output unit ( 31 ) configured to output design data of the virtual network designed by the design unit ( 21 ).

TECHNICAL FIELD

The present disclosure relates to a network building apparatus, a network building method, and a program.

BACKGROUND ART

In order to evaluate a client's network environment, a network the same as that of the client is preferably built. However, when a network is built manually, a procedure for building the network becomes complicated and requires enormous number of steps, thereby taking a lot of time.

In order to address this issue, recently, a technique of building a virtual network obtained by virtualizing a network for the purpose of reducing the time and cost involved in building the network has been suggested (see Patent Literature 1).

However, in order to build the virtual network obtained by virtualizing the network, it is necessary to collect environmental data of this network. One example of the technique for collecting the environmental data of the network is a technique for collecting the environmental data of the network by monitoring packets transmitted from nodes connected to the network (see Patent Literature 2).

CITATION LIST Patent Literature

Patent Literature 1: European Patent Application Publication No. 1455483

Patent Literature 2: Japanese Unexamined Patent Application Publication No. H07-287572

SUMMARY OF INVENTION Technical Problem

Incidentally, in order to build a virtual network obtained by virtualizing a network, data and so on of an OS (Operating System) used by each node connected to this network will also become necessary as the environmental data of this network.

However, as in Patent Literature 2, there is a problem that only a limited items of environmental data can be collected by monitoring the packets transmitted from the nodes connected to the network. For example, in Patent Literature 2, the only environmental data collected by monitoring the packets is a node number included in the packet.

In light of the above problem, an object of the present disclosure is to provide a network building apparatus, a network building method, and a program capable of easily collecting environmental data necessary for building a virtual network.

Solution to Problem

In an example aspect, a network building apparatus includes:

a collection unit configured to scan each node connected to a network and collect environmental data of the network;

a design unit configured to design a virtual network obtained by virtualizing the network based on the environmental data collected by the collection unit; and

an output unit configured to output design data of the virtual network designed by the design unit.

In another example aspect, a network building method performed by a network building apparatus includes:

a collection step of scanning each node connected to a network and collecting environmental data of the network;

a designing step of designing a virtual network obtained by virtualizing the network based on the environmental data collected in the collection step; and

an outputting step of outputting design data of the virtual network designed in the designing step.

In another example aspect, a program causes a computer to execute:

a collection procedure for scanning each node connected to a network and collecting environmental data of the network;

a designing procedure for designing a virtual network obtained by virtualizing the network based on the environmental data collected in the collection procedure; and

an outputting procedure for outputting design data of the virtual network designed in the designing procedure.

Advantageous Effects of Invention

According to the above example aspects, it is possible to achieve an effect of easily collecting environmental data necessary for building a virtual network.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a diagram showing a configuration example of a network building apparatus according to an embodiment of the present disclosure;

FIG. 2 is a diagram showing an example of environmental data collected by a collection unit shown in FIG. 1;

FIG. 3 is a diagram showing an example of design rules registered in a design rule DB shown in FIG. 1;

FIG. 4 is a diagram showing an example of constraint rules registered in the constraint rule DB shown in FIG. 1;

FIG. 5 is a diagram showing an operation example of a design unit shown in FIG. 1;

FIG. 6 is a diagram showing an example of configuration rules registered in a configuration rule DB shown in FIG. 1;

FIG. 7 is a flowchart showing an example of a processing flow of the network building apparatus shown in FIG. 1; and

FIG. 8 is a diagram showing a configuration example of a network building apparatus according to the present disclosure.

DESCRIPTION OF EMBODIMENTS

Hereinafter, an embodiment of the present disclosure will be described with reference to the drawings.

First, a configuration of the network building apparatus 1 according to this embodiment will be described with reference to FIG. 1. FIG. 1 is a diagram showing a configuration example of the network building apparatus 1 according to this embodiment. The network building apparatus 1 is used to build a virtual network which is obtained by virtualizing a target network. The network building apparatus 1 includes a collection unit 10, a design unit 20, an output unit 30, a collection rule DB (i.e., database, which will be applied in the following descriptions) 40, a design rule DB 50, a constraint rule DB 60, and a configuration rule DB 70. The collection rule DB 40, the design rule DB 50, the constraint rule DB 60, and the configuration rule DB 70 are not limited to being provided inside the network building apparatus 1 and may instead be provided outside the network building apparatus 1.

The collection unit 10 scans each node connected to the target network in accordance with collection rules registered in the collection rule DB 40 and collects environmental data of the network. Specifically, the collection unit 10 collects the environmental data by executing a port scan on each node. The nodes are client PCs (Personal Computers), hubs, switches, routers, etc. connected to the target network.

The collection rule defines, for example, items of the environmental data to be collected. FIG. 2 is a diagram showing an example of the environmental data collected by the collection unit 10. The items of the environmental data shown in FIG. 2 are a role of the node (“role” in the diagram), an OS used by the node (“OS” in the diagram), a version of the node (“version” in the diagram), and an IP (Internet Protocol) address (“IP Address” in the diagram) of the node. The collection unit 10 scans, for example, each node connected to the target network, and collects data of the items defined in the collection rule as the environmental data of the network.

The design unit 20 designs the virtual network obtained by virtualizing the target network based on the environmental data collected by the collection unit 10 in accordance with design rules registered in the design rule DB 50 and constraint rules registered in the constraint rule DB 60. The design rule DB 50 is an example of a first database, and the design rule is an example of a first rule. The constraint rule DB 60 is an example of a third database, and the constraint rule is an example of a third rule.

The design rule defines an order in which the node is placed in the virtual network, a device type, and so on. FIG. 3 is a diagram showing an example of the design rules registered in the design rule DB 50. The design rule shown in FIG. 3 defines, for each role of the node, the order (“Order” in the diagram) in which the corresponding node having the role is placed in the virtual network and the device type (“Type” in the diagram). The design unit 20 determines that the device type of, for example, the node having the role of “CISCO” when this node is placed in the virtual network is a virtual switch (“SW”) in accordance with the design rule shown in FIG. 3 and then places this node first in the virtual network as a virtual switch.

The constraint rule defines a usage status and so on of a resource in the virtual network. The resource is, for example, a VLAN (Virtual Local Area Network), a memory, or the like. In this embodiment, a plurality of virtual networks can be operated at the same time by using a plurality of VLANs. FIG. 4 is a diagram showing an example of the constraint rules registered in the constraint rule DB 60. The constraint rule shown in FIG. 4 defines a usage status of the VLANs in the virtual network (i.e., virtual network #1). When two virtual networks #1 and #2 are designed, the design unit 20 assigns, in accordance with the constraint rules shown in FIG. 4, the VLAN not used by the virtual network #1 to the virtual network #2 so that the VLANs do not overlap of the two virtual networks #1 and #2 do not overlap each other. Note that although the constraint rules shown in FIG. 4 define the usage statuses of the VLANs in the virtual network #1, each of the constraint rules indicates, for each virtual network, the usage status of each type of the resource (VLAN or memory) in the corresponding virtual network. For example, when there are two virtual networks #1 and #2 and there are two types of resources to be managed (VLAN and memory), the constraint rules indicate the usage status of the VLAN in the virtual network #1, the usage status of the memory in the virtual network #1, the usage status of the VLAN in the virtual network #2, and the usage status of the memory in the virtual network #2.

An operation of the design unit 20 according to this embodiment will be described with reference to FIG. 5. FIG. 5 is a diagram showing an operation example of the design unit 20. Here, an example in which the two virtual networks #1 and #2 are designed in accordance with the design rules shown in FIG. 3 will be described. One type of the resources, namely VLAN, shall be managed.

Firstly, the design unit 20 designs the virtual network #1. To begin with, the design unit 20 determines, in accordance with the design rules shown in FIG. 3, regarding the node having the order (“Order” in the diagram) of “1” and the role of “CISCO” among the nodes connected to the network to be designed as the virtual network #1, that the device type of this node is a virtual switch (“SW”) and connects this node to a virtual server 82 as a virtual switch (#1) 83-1. Next, the design unit 20 connects the node having the order (“Order” in the diagram) of “2” and the role of “Win2016-SC” to the virtual switch (#1) 83-1 as a Virtual Machine (VM) (#1) 84-1. Next, the design unit 20 connects the node having the order (“Order” in the diagram) of “3” and the role of “Win7-PC1” to the virtual switch (#1) 83-1 as another VM (#1) 84-1. In this way, the design unit 20 designs the virtual network #1 composed of the virtual switch (#1) 83-1 and the plurality of virtual machines (#1) 84-1. Further, the design unit 20 assigns VLANs to the virtual network #1 and registers, in the constraint rule DB 60, the constraint rules that define the usage statuses of the VLANs in the virtual network #1. Suppose that the constraint rules registered here are the constraint rules shown in FIG. 4 and will be described below.

Next, the design unit 20 designs the virtual network #2 composed of a virtual switch (#2) 83-2 and a plurality of virtual machines (#2) 84-2 in the manner similar to the virtual network #1. At this time, the design unit 20 assigns, in accordance with the constraint rules shown in FIG. 4, the VLANs (the VLANs having “VLAN ID” of “101”, “102”, and “105”), which are not used in the virtual network #1 to the virtual network #2 so that the VLANs of the two virtual networks #1 and #2 do not overlap each other. Further, the design unit 20 registers, in the constraint rule DB 60, the constraint rules that define the usage statuses of the VLANs in the virtual network #2.

Although not shown in FIG. 5, the design unit 20 connects the virtual switch (#1) 83-1 and the virtual switch (#2) 83-2 to a physical switch/OpenFlow switch 81.

The output unit 30 outputs design data of the virtual network designed by the design unit 20 to a specific output destination. The output destination of the design data is an evaluation environment in an evaluation device (not shown) which evaluates a network designed as a virtual network.

Moreover, when the design data of the virtual network is output, the output unit 30 also outputs information about an installation procedure for an application in each node connected to the network designed as the virtual network in accordance with the configuration rules registered in the configuration rule DB 70. The configuration rule DB 70 is an example of a second database, and the configuration rule is an example of a second rule.

The configuration rules define the installation procedures for applications. FIG. 6 is a diagram showing an example of the configuration rules registered in the configuration rule DB 70. Each of the configuration rules shown in FIG. 6 defines, for each role (“role” in the diagram) of the node, an install command (“install command” in the diagram) for installing an application in the node having the corresponding role, an OS (“OS” in the diagram) used by the node having the corresponding role, and a version (“version” in the diagram) of the node having the corresponding role. Although the install commands are defined as the information about the installation procedures for the applications in FIG. 6, the present disclosure is not limited to this, and the configuration rule may be different type of information as long as the installation procedure can be obtained. In regard to the node having the role of, for example, “Apache”, the output unit 30 determines that the install command is “apt-get install apache2” in accordance with the configuration rules shown in FIG. 6 and outputs the install command “apt-get install apache2” to the evaluation device. When the install command “apt-get install apache2” is output, it is preferable that information indicating that the node is associated with a virtual machine corresponding to the node having the role of “Apache” also be output.

By doing so, the evaluation device (or an evaluator operating the evaluation device) can install the application in the virtual machine without studying the application to be installed in the virtual machine constituting the virtual network and the installation procedure for the application.

Next, a processing flow of the network building apparatus 1 according to this embodiment will be described with reference to FIG. 7. FIG. 7 is a flowchart showing an example of the processing flow of the network building apparatus 1 according to this embodiment.

First, the collection unit 10 scans each node connected to the target network, and collects the environmental data of the network in accordance with the collection rules registered in the collection rule DB 40 (Step S1).

Next, the design unit 20 designs the virtual network obtained by virtualizing the target network based on the environmental data collected by the collection unit 10 in accordance with the design rules registered in the design rule DB 50 and the constraint rules registered in the constraint rule DB 60 (Step S2).

After that, the output unit 30 outputs the design data of the virtual network designed by the design unit 20 in accordance with the configuration rules registered in the configuration rule DB 70, and the information indicating the installation procedure for an application in each node connected to the network designed as the virtual network (Step S3).

As described above, in the network building apparatus 1 according to this embodiment, the collection unit 10 scans each node connected to the target network to collect the environmental data of the network. This makes it possible to easily collect the environmental data necessary for building the virtual network, such as the role of each node, data of the OS, and so on.

Further, the configuration rule DB 70 registers, for each role of the node, the configuration rule indicating the installation procedure for an application in the node having the role. When the design data of the virtual network is output, the output unit 30 also outputs information about the installation procedure for an application in each node connected to the network designed as the virtual network in accordance with the configuration rules registered in the configuration rule DB 70. By doing so, the evaluation device of the output destination (or an evaluator operating the evaluation device) can install the application in the virtual machine without studying the application to be installed in the virtual machine constituting the virtual network and the installation procedure for the application.

Hereinafter, an outline of the network building apparatus according to the present disclosure will be described with reference to FIG. 8. FIG. 8 is a diagram showing a configuration example of a network building apparatus 2 according to the present disclosure. The network building apparatus 2 includes a collection unit 11, a design unit 21, and an output unit 31.

The collection unit 11 scans each node connected to the target network to collect environmental data of the network. The collection unit 11 corresponds to the collection unit 10.

The design unit 21 designs a virtual network obtained by virtualizing the target network based on the environmental data collected by the collection unit 11. The design unit 21 corresponds to the design unit 20.

The output unit 31 outputs design data of the virtual network designed by the design unit 20. The output unit 31 corresponds to the output unit 30.

As described above, in the network building apparatus 2 according to the present disclosure, the collection unit 11 scans each node connected to the target network to collect the environmental data of the network. This makes it possible to easily collect the environmental data necessary for building the virtual network.

Although the present disclosure has been described in terms of various viewpoints with reference to the embodiment, the present disclosure is not limited by the above. Various modifications that can be understood by those skilled in the art within the scope of the present disclosure can be made to the configurations and details in each aspect of the present disclosure.

For example, in the above embodiment, each functional block (collection unit, design unit, and output unit) is provided in the same device, but the present disclosure is not limited to this. These functional blocks may be provided in separate devices and connected to each other by a wire or wirelessly.

Each functional block in the above embodiment may be configured by hardware or software or both hardware and software, may be configured by one piece of hardware or software, or may be configured by a plurality of pieces of hardware or software. The function (processing) of each device may be implemented by a computer including a CPU (Central Processing Unit), a memory, and so on. For example, the function (processing) of each device may be implemented by storing, in a memory, a program for carrying out the network building method according to the embodiment and causing the CPU to execute the program stored in a memory.

The above program can be stored and provided to a computer using any type of non-transitory computer readable media. Non-transitory computer readable media include any type of tangible storage media. Examples of non-transitory computer readable media include magnetic storage media (such as floppy disks, magnetic tapes, hard disk drives, etc.), optical magnetic storage media, CD-ROM (compact disc read only memory), CD-R (compact disc-recordable), CD-R/W (compact disc-rewritable), and semiconductor memories (such as mask ROM, PROM (programmable ROM), EPROM (erasable PROM), flash ROM, RAM (random access memory), etc.). The program may be provided to a computer using any type of transitory computer readable media. Examples of transitory computer readable media include electric signals, optical signals, and electromagnetic waves.

Transitory computer readable media can provide the program to a computer via a wired communication line (e.g. electric wires, and optical fibers) or a wireless communication line.

For example, the whole or part of the embodiments disclosed above can be described as, but not limited to, the following supplementary notes.

(Supplementary Note 1)

A network building apparatus comprising:

a collection unit configured to scan each node connected to a network and collect environmental data of the network;

a design unit configured to design a virtual network obtained by virtualizing the network based on the environmental data collected by the collection unit; and

an output unit configured to output design data of the virtual network designed by the design unit.

(Supplementary Note 2)

The network building apparatus according to Supplementary note 1, wherein

for each role of the node, a first rule indicating a device type when the node having the role is placed in the virtual network is stored in a first database,

the collection unit collects at least data indicating the role of each node connected to the network as the environmental data of the network, and

the design unit determines the device type corresponding to the role of each node connected to the network in accordance with the first rule, and

the design unit places each node connected to the network in the virtual network as a device of the determined device type.

(Supplementary Note 3)

The network building apparatus according to Supplementary note 2, wherein

for each role of the node, a second rule indicating an installation procedure for an application in the node having the role is stored in a second database,

the output unit determines the installation procedure corresponding to the role of each node connected to the network in accordance with the second rule, and

the output unit, when it outputs the design data of the virtual network, also outputs information about the installation procedure in each node connected to the network.

(Supplementary Note 4)

The network building apparatus according to any one of Supplementary notes 1 to 3, wherein

for each virtual network, a third rule indicating a usage status of a resource in the virtual network is stored in a third database,

the design unit, when designing a plurality of the virtual networks, assigns a resource to each of the plurality of the virtual networks in accordance with the third rule in such a way that the resources of the plurality of the virtual networks do not overlap each other.

(Supplementary Note 5)

A network building method performed by a network building apparatus comprising:

a collection step of scanning each node connected to a network and collecting environmental data of the network;

a designing step of designing a virtual network obtained by virtualizing the network based on the environmental data collected in the collection step; and

an outputting step of outputting design data of the virtual network designed in the designing step.

(Supplementary Note 6)

The network building method according to Supplementary note 5, wherein

for each role of the node, a first rule indicating a device type when the node having the role is placed in the virtual network is stored in a first database,

in the collection step, at least data indicating the role of each node connected to the network is collected as the environmental data of the network, and

in the designing step, the device type corresponding to the role of each node connected to the network is determined in accordance with the first rule, and

in the designing step, each node connected to the network is placed in the virtual network as a device of the determined device type.

(Supplementary Note 7)

The network building method according to Supplementary note 6, wherein

for each role of the node, a second rule indicating an installation procedure for an application in the node having the role is stored in a second database,

in the outputting step, the installation procedure corresponding to the role of each node connected to the network is determined in accordance with the second rule, and

in the outputting step, information about the installation procedure in each node connected to the network is also output when the design data of the virtual network is output.

(Supplementary Note 8)

The network building method according to any one of Supplementary notes 5 to 7, wherein

for each virtual network, a third rule indicating a usage status of a resource in the virtual network is stored in a third database,

in the designing step, when a plurality of the virtual networks are designed, a resource is assigned to each of the plurality of the virtual networks in accordance with the third rule in such a way that the resources of the plurality of the virtual networks do not overlap each other.

(Supplementary Note 9)

A program causing a computer to execute:

a collection procedure for scanning each node connected to a network and collecting environmental data of the network;

a designing procedure for designing a virtual network obtained by virtualizing the network based on the environmental data collected in the collection procedure; and

an outputting procedure for outputting design data of the virtual network designed in the designing procedure.

(Supplementary Note 10)

The program according to Supplementary note 9, wherein

for each role of the node, a first rule indicating a device type when the node having the role is placed in the virtual network is stored in a first database,

in the collection procedure, at least data indicating the role of each node connected to the network is collected as the environmental data of the network, and

in the designing procedure, the device type corresponding to the role of each node connected to the network is determined in accordance with the first rule, and

in the designing procedure, each node connected to the network is placed in the virtual network as a device of the determined device type.

(Supplementary Note 11)

The program according to Supplementary note 10, wherein

for each role of the node, a second rule indicating an installation procedure for an application in the node having the role is stored in a second database,

in the outputting procedure, the installation procedure corresponding to the role of each node connected to the network is determined in accordance with the second rule, and

in the outputting procedure, information about the installation procedure in each node connected to the network is also output when the design data of the virtual network is output.

(Supplementary Note 12)

The program according to any one of Supplementary notes 9 to 11, wherein

for each virtual network, a third rule indicating a usage status of a resource in the virtual network is stored in a third database,

in the designing procedure, when a plurality of the virtual networks are designed, a resource is assigned to each of the plurality of the virtual networks in accordance with the third rule in such a way that the resources of the plurality of the virtual networks do not overlap each other.

The present application is based upon and claims the benefit of priority from Japanese Patent Application No. 2017-070503, filed on Mar. 31, 2017, the entire contents of which are hereby incorporated by reference.

REFERENCE SIGNS LIST

-   1 NETWORK BUILDING APPARATUS -   10 COLLECTION UNIT -   20 DESIGN UNIT -   30 OUTPUT UNIT -   40 COLLECTION RULE DB -   50 DESIGN RULE DB -   60 CONSTRAINT RULE DB -   70 CONFIGURATION RULE DB -   2 NETWORK BUILDING APPARATUS -   11 COLLECTION UNIT -   21 DESIGN UNIT -   31 OUTPUT UNIT 

1. A network building apparatus comprising: a collection unit configured to scan each node connected to a network and collect environmental data of the network; a design unit configured to design a virtual network obtained by virtualizing the network based on the environmental data collected by the collection unit; and an output unit configured to output design data of the virtual network designed by the design unit.
 2. The network building apparatus according to claim 1, wherein for each role of the node, a first rule indicating a device type when the node having the role is placed in the virtual network is stored in a first database, the collection unit collects at least data indicating the role of each node connected to the network as the environmental data of the network, and the design unit determines the device type corresponding to the role of each node connected to the network in accordance with the first rule, and the design unit places each node connected to the network in the virtual network as a device of the determined device type.
 3. The network building apparatus according to claim 2, wherein for each role of the node, a second rule indicating an installation procedure for an application in the node having the role is stored in a second database, the output unit determines the installation procedure corresponding to the role of each node connected to the network in accordance with the second rule, and the output unit, when it outputs the design data of the virtual network, also outputs information about the installation procedure in each node connected to the network.
 4. The network building apparatus according to any one of claim 1, wherein for each virtual network, a third rule indicating a usage status of a resource in the virtual network is stored in a third database, the design unit, when designing a plurality of the virtual networks, assigns a resource to each of the plurality of the virtual networks in accordance with the third rule in such a way that the resources of the plurality of the virtual networks do not overlap each other.
 5. A network building method performed by a network building apparatus comprising: a collection step of scanning each node connected to a network and collecting environmental data of the network; a designing step of designing a virtual network obtained by virtualizing the network based on the environmental data collected in the collection step; and an outputting step of outputting design data of the virtual network designed in the designing step.
 6. The network building method according to claim 5, wherein for each role of the node, a first rule indicating a device type when the node having the role is placed in the virtual network is stored in a first database, in the collection step, at least data indicating the role of each node connected to the network is collected as the environmental data of the network, and in the designing step, the device type corresponding to the role of each node connected to the network is determined in accordance with the first rule, and in the designing step, each node connected to the network is placed in the virtual network as a device of the determined device type.
 7. The network building method according to claim 6, wherein for each role of the node, a second rule indicating an installation procedure for an application in the node having the role is stored in a second database, in the outputting step, the installation procedure corresponding to the role of each node connected to the network is determined in accordance with the second rule, and in the outputting step, information about the installation procedure in each node connected to the network is also output when the design data of the virtual network is output.
 8. The network building method according to claim 5, wherein for each virtual network, a third rule indicating a usage status of a resource in the virtual network is stored in a third database, in the designing step, when a plurality of the virtual networks are designed, a resource is assigned to each of the plurality of the virtual networks in accordance with the third rule in such a way that the resources of the plurality of the virtual networks do not overlap each other.
 9. A non-transitory computer readable medium storing a program causing a computer to execute: a collection procedure for scanning each node connected to a network and collecting environmental data of the network; a designing procedure for a virtual network obtained by virtualizing the network based on the environmental data collected in the collection procedure; and an outputting procedure for outputting design data of the virtual network designed in the designing procedure. 